package com.inspection.service;

import com.inspection.entity.InspectionBranchDO;
import com.inspection.model.dto.BranchQueryDTO;
import com.inspection.model.dto.InspectionBranchDTO;
import org.springframework.data.domain.Page;

import java.util.List;

public interface InspectionBranchService {

    List<InspectionBranchDO> getInspectionBranchList(BranchQueryDTO query);

    Page<InspectionBranchDO> pageInspectionBranch(BranchQueryDTO page);


    void addInspectionBranch(InspectionBranchDTO branchDTO);


    InspectionBranchDO getInspectionBranch(BranchQueryDTO query);

    void updateInspectionBranch(InspectionBranchDTO branchDTO);

    void delInspectionBranch(InspectionBranchDTO branchDTO);

    void batchDelInspectionBranch(InspectionBranchDTO branchDTO);
}
